//
//  URLConnection.h
//  xKey Interface
//
//  Created by Guillaume SOURDRILLE on 19/02/12.
//  Copyright (c) 2012 Edenyorke. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MessageUtils.h"

@interface URLConnection : NSObject{
    
    NSString *ipXkey;
    
    
}

@property (nonatomic, retain) NSMutableURLRequest *request;
@property (nonatomic, retain) MessageUtils *messageUtils;

-(URLConnection*) initWithIp;

-(NSURL*) getURLForXml;
-(NSURL*) getURLForLaunchGame:(NSString*) gameId;
-(UIImage*) checkImageForId: (NSString*) gameId;
-(NSURL*) getURLXmlForId: (NSString*) gameId;

@end
